package org.example.k8s_cloudplatform.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

@Data
@TableName(value = "podaccess")
public class PodAccess {
    @TableId(value = "id", type = IdType.AUTO) // 自动生成
    private Integer ID;
    @TableField(value = "ownerid")
    private Integer ownerID;
    @TableField(value = "dockerid")
    private Integer dockerID;
    @TableField(value = "userid")
    private Integer userID;
    @TableField(value = "user_name")
    private String userName;
}
